# @Time    : 2022/7/16 14:01
# @Author  : mobai
# @Email   : 3111283671@qq.com
# @File    : xiansuo_page.py
# @Software: PyCharm

from time import sleep
from selenium import webdriver
from selenium.webdriver.common.by import By
from pages.base_pageage import BasePage
from selenium.webdriver.support.select import Select

class XianSuoPage(BasePage):
    """线索初始页面"""
    url = "http://192.168.1.151/crm/index.php?m=leads"
    DJTJ = (By.CSS_SELECTOR, "body > div.container > div.page-header > ul > li:nth-child(3) > a")

    def djtj(self):
        """点击统计"""
        self.driver.find_element(*self.DJTJ).click()